]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Switch Find entry text size to px
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 28 Aug 2009 20:21:21 +0000 (16:21 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Fri, 28 Aug 2009 20:21:21 +0000 (16:21 -0400)
All our font sizes were in px, other than the size for the text in
the search entry. Switch that from 12 to 16px (which is the same size
at the standard 96dpi), it doesn't become out of scale if the DPI
is different. (Using fixed px sizes isn't probably what we want to
do in the long term; moving to style sheets will be a good place to
fix that. But better to be consistent.)

http://bugzilla.gnome.org/show_bug.cgi?id=593212

js/ui/dash.js

index 69f943af760613d46157ec6c16abdd8a56b6be97..dcff03bb493e566e6e13e9a0e262354a30b46b7d 100644 (file)
@@ -252,7 +252,7 @@ SearchEntry.prototype = {
 
         this._defaultText = _("Find...");
 
-        let textProperties = { font_name: "Sans 12" };
+        let textProperties = { font_name: "Sans 16px" };
         let entryProperties = { editable: true,
                                 activatable: true,
                                 single_line_mode: true,